<table width="100%" border="0"><tr>
	<td width="17%"></td>
	<td>
		<div id="divrond1">
			<table width="100%">
				<tr><td width="50%"></td>
				<td align="center">	
					<p class="grosblancitalique"><b>RAVIOLES</b></p>
				</td></tr>
			</table>
		</div>
	</td>
	<td valign="top" style="text-align:right;" width="17%">
	<?php if(isset($connecte)) {
		$this->session->set_userdata('url_en_cours', $this->uri->segment(1));
		$site = site_url("/administration/monCompte");
		/*echo "<font color='gray'>Utilisateur connect&eacute; : <a href='".$site."' class='compte' title='Aller dans le profil de ".$connecte."'>".$connecte."</a><br>";
		echo "<p><input type=\"button\" id=\"bconnex\" value=\"D&eacute;connexion\" />";
		if(($admin == "O") && ($uri != "administration")) echo "<input type=\"button\" id=\"badmin\" value=\"Administration\" />";
		echo "</p>";*/
		
		?>
		<ul id="menu-compte">
			<li class="menu-over menuAvecSubmenu">
				<font color='gray'><a href="#" rel="nofollow"><?php echo $connecte; ?></a></font>
				<ul class="subMenu-compte">
					<li><a href='<?php echo $site; ?>' class='compte' title='Aller dans le profil de <?php echo $connecte; ?>'>Mon compte</a></li>
					<?php if(($admin == "O") && ($uri != "administration")) { ?>
					<li><a href='administration' class='compte' title='Acc&eacute;der au module d&rsquo;administration'>Administration</a></li>
					<li><a href='administration/mailPerso' class='compte' title='Ecrire un mail aux membres'>Ecrire un mail</a></li>
					<li><a href='administration/infophp' class='compte' title='phpinfo()'>phpinfo</a></li>
					<?php } ?>
					<li><a href='/ravioles/login' title='Se d&eacute;connecter'>D&eacute;connexion</a></li>
				<ul>
			</li>
		</ul>
		<?php
	}
	?>
	</td>
</table>

<script>
$(function() {

    $(".menuAvecSubmenu").hover(
    	function(){
        	$(this).find(".subMenu-compte").stop().fadeTo('fast', 1).show();
    	},
    	function() {
    		$(this).find(".subMenu-compte").stop().hide();
    	}
   	);
});	

</script>
